win32: Make flush/sync work like in X
authorAlexander Larsson <alexl@redhat.com>
Thu, 27 Oct 2011 14:56:40 +0000 (16:56 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 10 Nov 2011 16:41:06 +0000 (17:41 +0100)
commita1828e8b60321c0c8951ab00029ae9cb6ab51928
tree5e2455c9ece0ddc4b9f981601ce8da203d02c32b
parentd27b402a85ccbe8252a141a086b3f810b9b14e4f
win32: Make flush/sync work like in X

gdk_flush() should gdk_display_sync() on all open displays.

Both for display_flush and display_sync it seems useful to call
GdiFlush, but we don't have anything extra to do for display_sync,
as there is no inherent roundtrip on win32.

This should close bug #84314
gdk/win32/gdkdisplay-win32.c
gdk/win32/gdkevents-win32.c
gdk/win32/gdkprivate-win32.h